class MicroPrograma:
    codigo = ""
    codMicroInstrucoesExecutadas = []
    microInstrucoesExecutadas = []
    mnemonico = ""
    
    def __init__(self,codigo,mnemonico):
        self.codigo=codigo
        self.mnemonico=mnemonico
    
    def associaCodMicros(self,MicroprogramaXMicroinstrucoes):
        self.codMicroInstrucoesExecutadas = MicroprogramaXMicroinstrucoes[self.codigo]
    
   # def associaMicros(self,microInstrucoes):
   #     for codigoMicro in self.codMicroInstrucoesExecutadas:
   #         self.microInstrucoesExecutadas.append(microInstrucoes[codigoMicro])
            
        
        

    
    
            
        
        
        